//
//  FKPostTableViewController.m
//  FKNetWorking
//
//  Created by 云眼科技 on 16/7/18.
//  Copyright © 2016年 CloudEyes. All rights reserved.
//

#import "FKPostTableViewController.h"

@interface FKPostTableViewController ()
@property (nonatomic, strong) NSMutableArray *dataArray;

@end

static NSString *const post_identifier = @"fk_post_identifier"; 

@implementation FKPostTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:post_identifier];
}



#pragma mark - Table view data source

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return self.dataArray.count;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:post_identifier forIndexPath:indexPath];
    return cell;
}


-(NSMutableArray *)dataArray{
    if (!_dataArray) {
        _dataArray = [NSMutableArray arrayWithCapacity:1];
    }
    return _dataArray;
}


@end
